﻿<controls:ChildWindow xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"  x:Class="VAdvantage.Dialogs.YTDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:my2="clr-namespace:VAdvantage.Controls"
            Background="White" Height="0" Width="0" VerticalAlignment="Top" HorizontalAlignment="Left" Style="{StaticResource MessageChildWindow}"
           Title="YTDialog">
    <Grid x:Name="LayoutRoot" Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <WebBrowser x:Name="htmlHost" ScrollViewer.VerticalScrollBarVisibility="Hidden" />
        <sdk:Label x:Name="tLabel" Background="White" Height="50" VerticalAlignment="Top" />
        <my2:VButton Grid.Column="1" x:Name="OKButton" Margin="0,10,5,0" Content="Close" Click="OKButton_Click" Width="75" Height="23"  HorizontalAlignment="Right" Grid.Row="2" />
    </Grid>
</controls:ChildWindow>